<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<table class="table table-striped table-hover x-table" style="margin-bottom:20px;">
  <thead>
    <tr>
      <th>收货人姓名</th>
      <th>收货人电话</th>
      <th>省&nbsp;/&nbsp;市&nbsp;/&nbsp;地区</th>
      <th>详细地址</th>
      <th>邮编</th>
      <th>创建时间</th>
    </tr>
  </thead>
  <tbody>
    <c:forEach var="userAddress" items="${userAddresses}">
      <tr>
        <td>${userAddress.contactName}</td>
        <td>${userAddress.contactPhone}</td>
        <td>${userAddress.province}&nbsp;/&nbsp;${userAddress.city}&nbsp;/&nbsp;${userAddress.region}</td>
        <td>${userAddress.address}</td>
        <td>${userAddress.zipCode}</td>
        <td>${userAddress.createTime}</td>
      </tr>
    </c:forEach>
  </tbody>
</table>
